﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000F7F RID: 3967
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueMagicStoryInfo : IMessage<RogueMagicStoryInfo>, IMessage, IEquatable<RogueMagicStoryInfo>, IDeepCloneable<RogueMagicStoryInfo>, IBufferMessage
	{
		// Token: 0x1700324C RID: 12876
		// (get) Token: 0x0600B1BB RID: 45499 RVA: 0x001E06B0 File Offset: 0x001DE8B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueMagicStoryInfo> Parser
		{
			get
			{
				return RogueMagicStoryInfo._parser;
			}
		}

		// Token: 0x1700324D RID: 12877
		// (get) Token: 0x0600B1BC RID: 45500 RVA: 0x001E06B7 File Offset: 0x001DE8B7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueMagicStoryInfoReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700324E RID: 12878
		// (get) Token: 0x0600B1BD RID: 45501 RVA: 0x001E06C9 File Offset: 0x001DE8C9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueMagicStoryInfo.Descriptor;
			}
		}

		// Token: 0x0600B1BE RID: 45502 RVA: 0x001E06D0 File Offset: 0x001DE8D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicStoryInfo()
		{
		}

		// Token: 0x0600B1BF RID: 45503 RVA: 0x001E06E3 File Offset: 0x001DE8E3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicStoryInfo(RogueMagicStoryInfo other) : this()
		{
			this.finishedMagicStoryList_ = other.finishedMagicStoryList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600B1C0 RID: 45504 RVA: 0x001E070D File Offset: 0x001DE90D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicStoryInfo Clone()
		{
			return new RogueMagicStoryInfo(this);
		}

		// Token: 0x1700324F RID: 12879
		// (get) Token: 0x0600B1C1 RID: 45505 RVA: 0x001E0715 File Offset: 0x001DE915
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> FinishedMagicStoryList
		{
			get
			{
				return this.finishedMagicStoryList_;
			}
		}

		// Token: 0x0600B1C2 RID: 45506 RVA: 0x001E071D File Offset: 0x001DE91D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueMagicStoryInfo);
		}

		// Token: 0x0600B1C3 RID: 45507 RVA: 0x001E072B File Offset: 0x001DE92B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueMagicStoryInfo other)
		{
			return other != null && (other == this || (this.finishedMagicStoryList_.Equals(other.finishedMagicStoryList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600B1C4 RID: 45508 RVA: 0x001E0760 File Offset: 0x001DE960
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.finishedMagicStoryList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600B1C5 RID: 45509 RVA: 0x001E0794 File Offset: 0x001DE994
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600B1C6 RID: 45510 RVA: 0x001E079C File Offset: 0x001DE99C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600B1C7 RID: 45511 RVA: 0x001E07A5 File Offset: 0x001DE9A5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.finishedMagicStoryList_.WriteTo(ref output, RogueMagicStoryInfo._repeated_finishedMagicStoryList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600B1C8 RID: 45512 RVA: 0x001E07CC File Offset: 0x001DE9CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.finishedMagicStoryList_.CalculateSize(RogueMagicStoryInfo._repeated_finishedMagicStoryList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600B1C9 RID: 45513 RVA: 0x001E0805 File Offset: 0x001DEA05
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueMagicStoryInfo other)
		{
			if (other == null)
			{
				return;
			}
			this.finishedMagicStoryList_.Add(other.finishedMagicStoryList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600B1CA RID: 45514 RVA: 0x001E0833 File Offset: 0x001DEA33
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600B1CB RID: 45515 RVA: 0x001E083C File Offset: 0x001DEA3C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 72U && num != 74U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.finishedMagicStoryList_.AddEntriesFrom(ref input, RogueMagicStoryInfo._repeated_finishedMagicStoryList_codec);
				}
			}
		}

		// Token: 0x040047F2 RID: 18418
		private static readonly MessageParser<RogueMagicStoryInfo> _parser = new MessageParser<RogueMagicStoryInfo>(() => new RogueMagicStoryInfo());

		// Token: 0x040047F3 RID: 18419
		private UnknownFieldSet _unknownFields;

		// Token: 0x040047F4 RID: 18420
		public const int FinishedMagicStoryListFieldNumber = 9;

		// Token: 0x040047F5 RID: 18421
		private static readonly FieldCodec<uint> _repeated_finishedMagicStoryList_codec = FieldCodec.ForUInt32(74U);

		// Token: 0x040047F6 RID: 18422
		private readonly RepeatedField<uint> finishedMagicStoryList_ = new RepeatedField<uint>();
	}
}
